package com.zxl.designpattern.structure.flyweight;

/**
 * 享元模式--具体享元-斜体格式
 * @author zxl
 * @version 1.0
 * @date 2024/11/18 10:54
 */
public class ItalicFormat implements TextFormat {
    @Override
    public void applyFormat(String text) {
        System.out.printf("<i>%s</i>%n", text);
    }
}